package com.fruit.service.pic;

import java.io.InputStream;
import java.util.Map;





public interface PictureManager {
	/**
	 * 
	 * @param strBase64 
	 * @param suffix: .png 
	 * @param path: /${id}
	 * @return
	 */
	public Map uploadPicture(String strBase64, String suffix);		
	
	/**
	 * 
	 * @param strBase64
	 * @param suffix
	 * @param path
	 * @param name
	 * @return
	 */
	public Map uploadPicture(String strBase64, String path, String name,boolean isCut);
	public Map uploadPictureFile(InputStream in, String path, String name);
	public Map<String, Object> uploadPicture(InputStream in,String end, int width, int height, float quality);
	

}
